package com.zr.eim.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zr.common.annotation.Excel;
import com.zr.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 确诊信息对象 eim_data_diagnostic_info
 * 
 * @author peihang
 * @date 2022-10-21
 */
public class EimDataDiagnosticInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String personId;

    /** 要求管控时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "要求管控时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date controlLimitTime;

    /** 症状 */
    @Excel(name = "症状")
    private String symptom;

    /** 关联阳性核酸检测单id */
    @Excel(name = "关联阳性核酸检测单id")
    private Long checkId;
//-------------------------------新增代码-------------------------------------------------------------
    private EimDataPerson person;

    private EimDataNucleicAcidCheck eimDataNucleicAcidCheck;

    public EimDataNucleicAcidCheck getEimDataNucleicAcidCheck() {
        return eimDataNucleicAcidCheck;
    }

    public void setEimDataNucleicAcidCheck(EimDataNucleicAcidCheck eimDataNucleicAcidCheck) {
        this.eimDataNucleicAcidCheck = eimDataNucleicAcidCheck;
    }

    public EimDataPerson getPerson() {
        return person;
    }

    public void setPerson(EimDataPerson person) {
        this.person = person;
    }

//--------------------------------------------------------------------------------------------------
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPersonId(String personId) 
    {
        this.personId = personId;
    }

    public String getPersonId() 
    {
        return personId;
    }
    public void setControlLimitTime(Date controlLimitTime) 
    {
        this.controlLimitTime = controlLimitTime;
    }

    public Date getControlLimitTime() 
    {
        return controlLimitTime;
    }
    public void setSymptom(String symptom) 
    {
        this.symptom = symptom;
    }

    public String getSymptom() 
    {
        return symptom;
    }
    public void setCheckId(Long checkId) 
    {
        this.checkId = checkId;
    }

    public Long getCheckId() 
    {
        return checkId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("personId", getPersonId())
            .append("controlLimitTime", getControlLimitTime())
            .append("symptom", getSymptom())
            .append("checkId", getCheckId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
